Skip to content

Component Viewer initial commit#725

Merged
jreineckearm merged 115 commits into
mainfrom
componentViewer
Jan 21, 2026
Merged

Component Viewer initial commit#725
jreineckearm merged 115 commits into
mainfrom
componentViewer

Conversation

@thorstendb-ARM
Copy link
Copy Markdown
Collaborator

Implements

Checklist

  • 🤖 This change is covered by unit tests (if applicable).
  • 🤹 Manual testing has been performed (if necessary).
  • 🛡️ Security impacts have been considered (if relevant).
  • 📖 Documentation updates are complete (if required).
  • 🧠 Third-party dependencies and TPIP updated (if required).

@thorstendb-ARM thorstendb-ARM self-assigned this Jan 8, 2026
@qltysh
Copy link
Copy Markdown

qltysh Bot commented Jan 8, 2026

All good ✅

Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/data-host/memory-host.ts Outdated
Comment thread src/views/component-viewer/cache/cache.ts Outdated
Comment thread src/views/component-viewer/component-viewer-instance.ts Outdated
Comment thread src/views/component-viewer/model/scvd-base.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/views/component-viewer/scvd-debug-target.ts Outdated
Comment thread src/views/component-viewer/scvd-debug-target.ts Outdated
Comment thread src/views/component-viewer/statement-engine/statement-item.ts Outdated
Comment thread src/views/component-viewer/statement-engine/statement-item.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Copy link
Copy Markdown
Collaborator

@jreineckearm jreineckearm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed first couple of files, main focus on previously existing ones. See individual comments.

Comment thread package.json Outdated
Comment thread package.json
Comment thread package.json Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/desktop/extension.ts Outdated
Comment thread src/desktop/extension.ts Outdated
Comment thread src/manifest.ts
Comment thread src/views/component-viewer/data-host/register-host.ts Outdated
Comment thread src/component-viewer/test/test-files/scvd/BaseExample.scvd Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/views/component-viewer/scvd-debug-target.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
evaluateFormatSegmentValue now skips reference recovery when the printf subexpression fully folds to a constant (constValue present), avoiding grabbing containers from non-executed branches.
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
Comment thread src/cbuild-run/cbuild-run-reader.ts Outdated
Comment thread src/views/component-viewer/parser.ts Outdated
thorstendb-ARM and others added 24 commits January 20, 2026 15:07
* change component viewer icon to custom icon

* updating GUI at various events and removing unneeded code

* refactoring scvd and svd files paths functions to a single function

* fixing a typo

---------

Co-authored-by: Thorsten de Buhr <thorsten.deBuhr@arm.com>
Co-authored-by: Thorsten de Buhr <thorsten.deBuhr@arm.com>
* refactoring private variables location in controller class

* removing extra layer of componentViewer main and changing controller name to main

* updating tests and files in accordance with new class names

---------

Co-authored-by: Thorsten de Buhr <thorsten.deBuhr@arm.com>
* removed old test file that is not needed

* removing unneeded test file

---------

Co-authored-by: Thorsten de Buhr <thorsten.deBuhr@arm.com>
@thorstendb-ARM thorstendb-ARM marked this pull request as ready for review January 21, 2026 16:13
Copy link
Copy Markdown
Collaborator

@jreineckearm jreineckearm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @thorstendb-ARM and @omarArm ! I know this was (and still is) a huge piece of work.

Code review completed, critical feedback has been addressed. Let's continue to work through the remaining list of feedback items as we go.

Manual testing of the changes showed issues regarding refresh triggers. And window updates after disconnecting/reconnecting. Work on this is in progress in #752 .

Since we now have reached a good first baseline of code quality and automated tests, I am good to merge this PR despite the known issues. Confidence is high that we can fix the remaining problems quickly until the next scheduled release. Hence I rather have this in for easy early testing and accept that the view isn't fully operational yet. This also allows from now on code reviews with smaller and more focused increments, and hence more stabilized functionality going forward.

@jreineckearm jreineckearm merged commit 2b0d9ff into main Jan 21, 2026
23 checks passed
@jreineckearm jreineckearm deleted the componentViewer branch January 21, 2026 16:45
omarArm added a commit that referenced this pull request Jan 22, 2026
* Component Viewer initial commit

---------
Authored-by: Thorsten de Buhr <thorsten.deBuhr@arm.com>
Co-authored-by: Omar Elkhouly <omar.elkhouly@arm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants